using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class AutoRot : MonoBehaviour
{
    public Vector3 rotDir= Vector3.up;
    public float rotSpeed=50;

    private void Update()
    {
        transform.Rotate(rotDir*Time.deltaTime*rotSpeed);
    }
}
